const GUI = require("./start-gui");

process.on("message", function(message) {
    if (!message) {
        return;
    }
    if (message.type === "job") {
        new GUI(message.data.port);
    }
})